package com.p2p.base.util.mail;

import java.util.Arrays;

public class MailMessage {
	private String message;
	private String[] errors;
	public static final String SUCCESS = "success";
	public static final String ERROR = "error";

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String[] getErrors() {
		return errors;
	}

	public void setErrors(String[] errors) {
		this.errors = errors;
	}

	@Override
	public String toString() {
		return "MailMessage [message=" + message + ", errors="
				+ Arrays.toString(errors) + "]";
	}

}